<div>
    <h1 matDialogTitle>{{title}}</h1>
    <mat-dialog-content>
        <mat-form-field class="full-width">
            <input matInput placeholder="任务内容">
        </mat-form-field>
        <mat-radio-group>
            <mat-radio-button *ngFor="let priority of priorites" [value]="priority.value">
                {{priority.label}}
            </mat-radio-button>
        </mat-radio-group>
        <mat-form-field class="full-width">
            <input matInput [matDatepicker]="dueDatePicker" placeholder="任务截止日期">
            <mat-datepicker-toggle matSuffix [for]="dueDatePicker"></mat-datepicker-toggle>
            <mat-datepicker #dueDatePicker></mat-datepicker>
        </mat-form-field>
        <mat-form-field class="full-width">
            <input matInput [matDatepicker]="reminDatePicker" placeholder="任务起始日期">
            <mat-datepicker-toggle matSuffix [for]="reminDatePicker"></mat-datepicker-toggle>
            <mat-datepicker #reminDatePicker></mat-datepicker>
        </mat-form-field>
    </mat-dialog-content>
    <mat-dialog-actions>
        <button mat-raised-button color="primary" (click)="onClick()">保存</button>
        <button mat-button matDialogClose>关闭</button>
    </mat-dialog-actions>
</div>